# 添加所有的源文件

add_subdirectory (avltree)
string(REGEX REPLACE ".+/(.+)" "\\1" CURRENT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")

aux_source_directory(. DIRSRCS)

include_directories(avltree)
add_library(${CURRENT_DIRECTORY}  ${DIRSRCS})
target_link_libraries(${CURRENT_DIRECTORY} avltree)

